// 获取车友列表信息
export const carfriendUserInfo = `
query($driver_id:Int){
   empower_list_for_me2(driver_id:$driver_id){
     id
     driver_name
     driver_avatar
     status
     is_moren
     driver_mobile
   }
   empower_list_to_me(driver_id:$driver_id){
     id
     driver_name
     driver_avatar
     status
     is_moren
     driver_mobile
   }
}
`;
// 获取我的账户信息
export const explainempower = `
query($id:Int,$type:String){
  empower(id:$id,type:$type){
    id
    driver_name
    driver_avatar
    driver_id
    driver_mobile
    driver_id
    is_xianzhi
    status
    is_moren
	money
    cart_code_list{
      id
      cart_code
    }
  }
}
`;
// 获取车辆列表信息
export const carList = `
query($from_driver_id:Int,$driver_id:Int){
  cart_list(from_driver_id:$from_driver_id,driver_id:$driver_id)
  {
    id
    cart_code
    image
  }
}
`;
// 获取订单车辆列表信息
export const carListOrder = `
query($driver_id:Int){
  order_cart_list(driver_id:$driver_id)
  {
    cart_code
  }
}
`;
// 获取所有可用车辆列表信息
export const availableCarList = `
query($driver_id:Int){
  cart_list_can_use(driver_id:$driver_id)
  {
    cart_code
  }
}
`;
// 获取加注使用情况
// export const fillingList = `
// query($page:Int,$start:String,$end:String,$driver_id:Float)
// {fill_order_list(page:$page,start:$start,end:$end,driver_id:$driver_id){
// 	list{
// 		id
// 		order_sn
// 		createtime
// 		status_text
// 		product_name
// 		total_amount
// 		amount
// 		driver_name
// 		cart_code
// 		fill_price
// 		fill_code
// 		fill_fee
// 		pay_fee
// 		fill_amount
// 	}
// 	total
// 	lastpage
// 	count
// 	price}}`;
//获取车牌备注列表
export const getCartDesList = `
query($cart_id:Int,$page:Int){
  getCartDesList(cart_id:$cart_id,page:$page)
  {
  list{
    id
    des
    plug_name
    createtime
  }
  total
  lastpage
  }
}
`;
//获取车牌对应的司机
export const getCartDriverList = `
query($cart_id:Int){
  getCartDriverList(cart_id:$cart_id)
  {
  id
  name
  mobile
  }
}
`;
//获取车辆信息
export const getCart = `
query($cart_id:Int){
  getCart(cart_id:$cart_id)
  {
    id
    code
    images{
        image
    }
    model
    line
    life
    plug_name
    createtime
  }
}
`;
